Release 10.1A: OpenEdge Development:
Progress 4GL Reference


NUM-PARAMETERS attribute

The number of parameters expected.

Data type: INTEGER

Access: Readable/Writable

Applies to: CALL object handle

Syntax
NUM-PARAMETERS(integer-expression) 

integer-expression

An INTEGER expression indicating the number of parameters expected. The default is zero.

Whenever NUM-PARAMETERS is set, all existing parameters, including those from earlier uses of SET-PARAMETER, are cleared and deallocated.

If there are parameters to be passed, NUM-PARAMETERS must be set before the INVOKE( ) method is executed.

When you are getting a parameter, set NUM-PARAMETERS to the actual number of parameters to be passed, which might vary if one or more trailing parameters are optional.

When you are setting an attribute, use NUM-PARAMETERS 1.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095